package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池回购系统报价明细表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_battery_repurchase_detail")
@ApiModel(value = "XhBatteryRepurchaseDetail对象", description = "电池回购系统报价明细表")
public class XhBatteryRepurchaseDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联xh_battery_repurchase id")
    private Integer repurchasId;

    @ApiModelProperty("关联xh_battery_repurchase_standard id")
    private Integer repurchaseStandardId;

    @ApiModelProperty("基础费用 表示电池基础价格")
    private BigDecimal basePrice;

    @ApiModelProperty("折旧费用 用来扣减基础费用使用")
    private BigDecimal depreciationPrice;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

}
